<div class="panel panel-default loginBox">
	<div class="panel-heading">Login</div>
	<div class="panel-body">
		<form name="loginForm" ng-controller="LoginCtrl" novalidate>
			<div class="form-group" ng-class="{ 'has-error' : loginForm.login.$invalid && !loginForm.login.$pristine }">
				<label for="login">Login</label>
				<input type="text" class="form-control" id="login" name="login" maxlength="10" placeholder="Login" ng-model="item.login" required/>
				<span class="help-block" ng-show="loginForm.login.$invalid && !loginForm.login.$pristine">Campo obrigat&oacute;rio!</span>
			</div>
			<div class="form-group" ng-class="{ 'has-error' : loginForm.senha.$invalid && !loginForm.senha.$pristine }">
				<label for="senha">Senha</label>
				<input type="password" class="form-control" id="senha" name="senha" maxlength="10" placeholder="Senha" ng-model="item.senha" required/>
				<span class="help-block" ng-show="loginForm.senha.$invalid && !loginForm.senha.$pristine">Campo obrigat&oacute;rio!</span>
			</div>
			<button class="btn btn-primary" id="btnLogin" ng-click="login()" role="button" ng-disabled="loginForm.$invalid">Entrar</button>
		</form>
	</div>
</div>